﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edit.aspx.cs" Inherits="SysAdmin_Menu_Edit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <script type="text/javascript">
        $(function () {
            $('#menu_edit_combobox').combobox({
                data: iconData,
                formatter: function (v) {
                    return formatString('<span class="{0}" style="display:inline-block;vertical-align:middle;width:16px;height:16px;"></span>{1}', v.value, v.value);
                }
            });
        });
    </script>
    <div style="text-align: center;">
        <form id="admin_menu_editForm" method="post">
            <table class="tableForm" style="width: 100%;">
                <tr>
                    <th style="text-align: right; width: 10%;">编号</th>
                    <td style="text-align: left; width: 40%;">
                        <%=menu_key.ToString() %>
                        <input name="menu_key" type="hidden" value="<%=menu_key %>" />
                    </td>
                    <th style="text-align: right; width: 10%;">菜单名称</th>
                    <td style="text-align: left; width: 40%;">
                        <input name="menu_name" class="easyui-validatebox" data-options="required:true" style="width: 90%;" value="<%=menu_name %>" />
                    </td>
                </tr>
                <tr>
                    <th style="text-align: right;">菜单图标</th>
                    <td style="text-align: left;">
                        <input id="menu_edit_combobox" name="iconCls" style="width: 150px;" value="<%=menu_iconName %>" />
                    </td>
                    <th style="text-align: right;">是否可用</th>
                    <td style="text-align: left;">
                        <input name="is_active" type="checkbox" checked="<%=menu_isActive %>" /></td>
                </tr>
                <tr>
                    <th style="text-align: right;">菜单地址</th>
                    <td colspan="3" style="text-align: left;">
                        <input name="menu_url" style="width: 98%;" value="<%=menu_url %>" />
                    </td>
                </tr>
            </table>
        </form>
    </div>
</body>
</html>
